body {
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    background: #fff;
    border-bottom: 2px solid #eee;
    text-align: center;
    padding: 1rem;
}

h1 {
    margin: 0;
    font-size: 1.6rem;
}

.info-container {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: #fafafa;
    height: calc(100vh - 140px); /* ✅ 固定高度 */
    align-items: stretch;
    overflow: hidden; /* ✅ 阻止整体滚动 */
}

.info-list {
    display: grid;
    grid-template-columns: repeat(5, 200px);
    grid-auto-rows: 90px;
    gap: 6px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow-y: auto; /* 可选：左侧也能滚动 */
}

.info-button {
    width: 170px;
    height: 60px;
    background: linear-gradient(180deg, #ffffff, #f7f9fc);
    border: 1px solid #d0d7de;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.info-button:hover {
    background: linear-gradient(180deg, #f0f6ff, #e6f0ff);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    border-color: #007bff;
    color: #007bff;
}

.info-button.active {
    background: linear-gradient(135deg, #42e695, #3bb2b8);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 178, 184, 0.35);
    transform: translateY(-3px);
}

.info-detail {
    flex: 2;
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    position: relative; /* ✅ 关键 */
}
.info-detail h2 {
    margin-top: 0;
}

.info-detail .info {
    margin-bottom: 10px;
}

.info-detail .steps {
    background: #f7f7f7;
    padding: 10px;
    border-radius: 8px;
}

.download-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    margin-top: 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, #42e695, #3bb2b8); /* 💚 清新绿青渐变 */
    color: white;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 3px 8px rgba(59, 178, 184, 0.3); /* 柔和阴影 */
    transition: all 0.25s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, #34d89a, #2ea3a8); /* hover 稍深一点 */
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(59, 178, 184, 0.4);
}

.placeholder {
    color: #888;
    text-align: center;
    margin-top: 50px;
}

.images {
    margin-top: 15px;
}

.image-item {
    margin-bottom: 10px;
}

.image-item p {
    margin: 0 0 5px;
    font-weight: bold;
}

.image-item img {
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.img-overlay {
    position: fixed;
    inset: 0; /* 等价于 top/left/right/bottom = 0 */
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

.img-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}